package com.gec.it.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.io.Serializable;
import java.util.List;

public interface IService2<T> extends IService<T>{
    T getById2(Serializable id);
    T getOne2(Wrapper<T> queryWrapper);
    int count2(Wrapper<T> queryWrapper);
    List<T> list2(Wrapper<T> queryWrapper);
    List<T> list2();
    <E extends IPage<T>> E page2(E page, Wrapper<T> queryWrapper);

}
